/**
 * @author : dormi330
 * @date : 2020-03-04
 * description : 文件描述
 */

package isvb.impl.model;

import org.dormi.learn.promotion.model.OrderLine;
import org.dormi.learn.promotion.model.Sku;
import org.dormi.learn.promotion.util.BaseSerializable;

public class OrderLineIsvB extends BaseSerializable implements OrderLine {
    private Sku sku;
    private Integer qty;
    private boolean gift;

    public OrderLineIsvB(Sku sku, Integer qty, boolean gift) {
        this.sku = sku;
        this.qty = qty;
        this.gift = gift;
    }

    @Override
    public Integer getQty() {
        return qty;
    }

    public void setQty(Integer qty) {
        this.qty = qty;
    }

    @Override
    public Sku getSku() {
        return sku;
    }

    public void setSku(Sku sku) {
        this.sku = sku;
    }

    @Override
    public boolean isGift() {
        return gift;
    }

    public void setGift(boolean gift) {
        this.gift = gift;
    }
}
